using FastDevTemplate.DataAccess.Entities;
using FastDevTemplate.Service.Interface.Base;
using FastDevTemplate.Service.Interface.DTO;

namespace FastDevTemplate.Service.Interface;

public interface IPermissionService : IBaseQueryService
<Permission,
    string,
    PermissionResultDto,
    PermissionResultDto>
{
    public Task<int> SetListByServiceAsync(string client, List<PermissionAddDto> permissions);

    public Task<ICollection<PermissionResultDto>> GetListByServiceAsync(string client);
}